import React,{Component} from "react";
import { Steps} from 'antd';
import { Link } from "react-router-dom";

const Step = Steps.Step;
//现在这里的第二页，就是最后一页
class Registersecond extends Component{
    constructor(props){
        super(props);
        this.state = {
        }
    }
    componentDidMount(){
        scrollTo(0,0);
    }
    render(){
        return(
        <div id="register">
            <div className="top">
                <div>
                    <Link to="/"><i className="logo"></i></Link>
                </div>
            </div>
            <div className="content-box">
                <div className="steps">
                    <Steps current={1}>
                        <Step title="信息填写" />
                        <Step title="验证" />
                        <Step title="完成"></Step>
                    </Steps>
                </div>
                <div className="over">
                    {/* <img src={require("../assets/images/icon_ok.png")} className="ok"></img> */}
                    <p>邮件已发送，邮箱链接<i>5分钟有效</i>，还差一步就完成注册了，赶快去你的邮完成<span>最后一步</span>吧！</p>
                    {/* <img src={require("../assets/images/approve.png")} className="approve"></img> */}
                </div>
            </div>
        </div>)
    }
}

export default Registersecond;
